﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharedLib.Engine;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace SharedLib.Network.Client
{
    public class ClientWorld
    {
        public Dictionary<long, Entity> entitiesList = new Dictionary<long, Entity>();
        public Dictionary<long, GameObject> objectsList = new Dictionary<long, GameObject>();



        public Zone Zone;
        public ClientProperties PBab;
        public ClientWorld(ClientProperties prop)
        {
            entitiesList = new Dictionary<long, Entity>();
            objectsList = new Dictionary<long, GameObject>();
            PBab = prop;
        }

        public void Update(GameTime gameTime)
        {
            foreach (var item in entitiesList)
            {
                item.Value.Update(gameTime);
            }
        }
    }
}
